home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19950329-19950528 / 000204_news@columbia.edu_Sat Apr 22 06:22:57 1995.msg < prev    next >
Internet Message Format  |  1995-07-31  |  6KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24847
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 22 Apr 1995 15:09:14 -0400
  3. Received: by apakabar.cc.columbia.edu id AA26108
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 22 Apr 1995 15:09:12 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Defining functional keys
  9. Message-Id: <1995Apr22.122257.48276@cc.usu.edu>
  10. Date: 22 Apr 95 12:22:57 MDT
  11. References: <3n5307$jdd@kaie.va.ttu.ee>
  12. Organization: Utah State University
  13. Lines: 109
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3n5307$jdd@kaie.va.ttu.ee>, uuno@sofia.va.ttu.ee (Uuno Vallner) writes:
  17. > We try to use KERMIT DOS as terminal. We have Novel and  Unix 
  18. > mixed network. We try access to OSF/1 via IPX using Softnet in OSF/1.
  19. > We defined Kermit port bios3. It works perfectly. We need to use estonian 
  20. > characters. We are resolved this problem too. But ...
  21. > We use application in OSF/1 (text retrieval system trip), which needs 
  22. > for operating Application keypad (7,8. 9 ..1,0 ...)and some functional keys.
  23. > But Kermit are using 7 as "home"
  24. > Kermit interpreted non correct functional keys. After pressing f1, system 
  25. > sends only ESC , after next f1 follows code and new ESC. Same effect is with
  26. > array keys. 
  27. --------------
  28.  
  29.     I think there is some confusion about DEC versus IBM PC keys.
  30. The relationship is detailed in distribution file MSVIBM.VT and also
  31. in the user's manual book "Using MS-DOS Kermit." The IBM PC numeric
  32. keypad keys are not necessarily related to the DEC KeyPad keys. Here
  33. is a cutout from my copy of msvibm.vt:
  34.  
  35.  
  36. 1. VT320/VT102/VT52/Heath-19 EMULATOR IN MS-DOS KERMIT IBM-PC, CODE SUMMARY
  37.  
  38.            VT320/VT102 keypads        Heath-19 and VT52 Keypads     
  39.               IBM keys                   IBM Keys                   
  40.    +------+------+------+------+  +------+------+-------+----------+
  41.    |  PF1 |  PF2 |  PF3 |  PF4 |  | Blue |  Red |  Grey | up arrow | - Vendor
  42.    |  F1  |  F2  |  F3  |  F4  |  |  F1  |  F2  |  F3   | up arrow | - Kermit
  43.    +------+------+------+------+  +------+------+-------+----------+
  44.    |  7   |  8   |  9   |  -   |  |  7   |  8   |  9    |down arrow|
  45.    |  F5  |  F6  |  F7  |  F8  |  |  F5  |  F6  |  F7   |down arrow|
  46.    +------+------+------+------+  +------+------+-------+----------+
  47.    |  4   |  5   |  6   |  ,   |  |  4   |  5   |  6    | rgt arrow|
  48.    |  F9  |  F10 |  SF1 |  SF2 |  |  F9  |  F10 |  SF1  | rgt arrow|
  49.    +------+------+------+------+  +------+------+-------+----------+
  50.    |  1   |  2   |  3   |  E   |  |  1   |  2   |  3    |left arrow|
  51.    |  SF3 |  SF4 |  SF5 |  n  S|  |  SF3 |  SF4 |  SF5  |left arrow|
  52.    +------+------+------+  t  F|  +------+------+-------+----------+
  53.    |  0------0   |  .   |  e  6|  |  0------0   |  .    |  Enter   |
  54.    |   SF7       |  SF8 |  r   |  |  SF7        |  SF8  |  SF6     |
  55.    +-------------+------+------+  +-------------+-------+----------+
  56.  
  57. SF1 means push Shift and F1 keys simultaneously
  58. ---------------------------------------------------------------------------
  59. Below, the acronyms CSI and SS3 stand for 8-bit control codes in an 8-bit
  60. environment or for their 7-bit equivalents "ESC [" and "ESC O", respectively.
  61. Command SET TERMINAL CONTROL {8-BIT | 7-BIT}, and an equivalent command from
  62. the host, determines the usage for output text; use of parity forces 7-bit
  63. mode.  CSI is decimal 155, SS3 is decimal 143.  Similarly, DCS is decimal 144
  64. or ESC P and ST is decimal 156 or ESC \.  APC is decimal 159 or ESC _.
  65. ---------------------------------------------------------------------------
  66. Codes sent by DEC and Heath arrow keys
  67. Key        Verb    IBM    VT320/VT102 mode    VT52/H19 mode
  68.             key    Cursor    Application    Cursor or Application
  69.  
  70. up        uparr    up    CSI A    SS3 A        ESC A
  71. down        dnarr    down    CSI B    SS3 B        ESC B
  72. right        rtarr    right    CSI C    SS3 C        ESC C
  73. left        lfarr    left    CSI D    SS3 D        ESC D
  74.  
  75. Codes sent by DEC editing keys, not preassigned to keys.
  76. Key        Verb        VT320 mode        VT102/VT52/H19 mode
  77.  
  78. Find        decFind        CSI 1 ~            these keys
  79. Insert Here    decInsert    CSI 2 ~             send nothing
  80. Remove        decRemove    CSI 3 ~
  81. Select        decSelect    CSI 4 ~
  82. Prev Screen    decPrev        CSI 5 ~
  83. Next Screen    decNext        CSI 6 ~            ~ is ASCII chart 7/14
  84.  
  85. Codes sent by DEC Numeric Keypad
  86. Key        Verb    IBM    ANSI VT320/VT102 mode    VT52/H19 mode
  87.             key    Numeric    Application    Numeric    Application
  88.  
  89. PF1/HF7/Blue   Gold,pf1 F1    SS3 P    SS3 P        ESC P    ESC P
  90. PF2/HF8/Red     pf2    F2    SS3 Q    SS3 Q        ESC Q    ESC Q
  91. PF3/HF9/Grey    pf3    F3    SS3 R    SS3 R        ESC R    ESC R
  92. PF4/HF1         pf4    F4    SS3 S    SS3 S        ESC S    ESC S
  93. 0        kp0    SF7    0    SS3 p        0    ESC ? p
  94. 1        kp1    SF3    1    SS3 q        1    ESC ? q
  95. 2        kp2    SF4    2    SS3 r        2    ESC ? r
  96. 3        kp3    SF5    3    SS3 s        3    ESC ? s
  97. 4        kp4    F9    4    SS3 t        4    ESC ? t
  98. 5        kp5    F10    5    SS3 u        5    ESC ? u
  99. 6        kp6    SF1    6    SS3 v        6    ESC ? v
  100. 7        kp7    F5    7    SS3 w        7    ESC ? w
  101. 8        kp8    F6    8    SS3 x        8    ESC ? x
  102. 9        kp9    F7    9    SS3 y        9    ESC ? y
  103. comma (,)    kpcoma    SF2    ,    SS3 l        ,    ESC ? l
  104. minus (-)    kpminus    F8    -    SS3 m        -    ESC ? m
  105. period (.)    kpdot    SF8    .    SS3 n        .    ESC ? n
  106. Enter        kpenter    SF6    CR or    SS3 M        CR or    ESC ? M
  107.                 CR LF    (newline on)    CR LF
  108.  (SFn means hold down Shift key while pressing Function key n.)
  109. ---------------
  110.  
  111.     Please note that \Kkp0...\Kkp0 are placed on IBM PC function
  112. keys by default. You can redefine such things using Kermit command
  113. SET KEY, as discussed in depth in "Using MS-DOS Kermit."
  114.     I don't quite understand why you are using SET PORT BIOS3. Do
  115. you have some Int 14h interceptor present to route traffic to the net?
  116. For real serial ports BIOS3 is terrible. If you are using Novell's ODI
  117. material then Kermit can operate as a native ODI client (using it's
  118. internal TCP/IP stack). This is discussed in the release notes.
  119.     Joe D.
  120.  
  121.